package com.ruicar.afs.cloud.finance.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>Description: </p>
 *
 * @author ZC.GUO
 * @version 1.0
 * @date create on 2020-07-02 09:38
 */
@Data
@Accessors(chain = true)
@TableName(value ="finance_virtual_account", autoResultMap = true)
public class FinanceVirtualAccount extends BaseEntity<FinanceVirtualAccount> {
    /** 客户号 */
    private String custNo ;
    /** 已入账金额 */
    private BigDecimal totalAmt ;
    /** 已分配金额 */
    private BigDecimal usedAmt ;
    /** 未分配金额 */
    private BigDecimal unUsedAmt ;
    /** 已撤销金额 */
    private BigDecimal cancelAmt ;
    /** 已退还金额 */
    private BigDecimal returnAmt ;
    /**  乐观锁 by ZC.GUO  **/
    private Long revision;
}
